home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / prcmdate.arc / PRODATE.DOC next >
Text File  |  1987-02-16  |  4KB  |  69 lines

  1.     
  2.                                     PRODATE
  3.     
  4.                          Placed in the public domain by
  5.                                  Woody Woodward
  6.                                    Feb. 1987
  7.     
  8.     PRODATE  is a date stamp utility for Procomm 2.4 dialing  directories.
  9.     It was designed to mark selected directory entries with the date  last
  10.     called.    The current system date is converted to  mm/dd  format  and
  11.     then  written  as  the  last  5  "Name"  characters  of  the  selected
  12.     directory entry.
  13.     
  14.     Calling syntax is:   prodate #1 [#2...#100]
  15.     
  16.     Simply  list each directory number to be dated.  Delimit each  with  a
  17.     space character.  A series of numbers need not be sequential.
  18.     
  19.     If  PRODATE is invoked without an argument list, it will prompt for  a
  20.     single  directory number to be dated.  This mode of  operation  allows
  21.     on-line  directory dating while running Procomm.  Be  aware,  however,
  22.     that  PRODATE  updates  the  actual procomm.dir  file,  not  the  copy
  23.     Procomm  keeps  in  memory.  This means  that  date  stamps  performed
  24.     on-line will not show up until  the next time Procomm is  initialized.
  25.     Also, any directory editing will cause Procomm to write to disk,  thus
  26.     canceling date stamps done earlier in the same session.
  27.     
  28.     The   PRODATE  program  may  reside  anywhere  in  your  normal   path
  29.     environment  but  the procomm.dir file must be found  in  the  current
  30.     directory.
  31.     
  32.     Suggetions for using PRODATE from within Procomm.....
  33.     
  34.     It  was  my  original intent to control operation of  PRODATE  from  a
  35.     Procomm  command file, automatically updating each directory  after  a
  36.     successful  connect.   Unfortunately, it appears  that  Datastorm  has
  37.     provided no access to the directory number selected for dialing.   (If
  38.     anyone  has found a technique for "passing" this number to  a  command
  39.     file,  I'd love to hear about it.)  Another obstacle was  the  passing
  40.     of  arguments  from a command file to the DOS program  (but  I'm  sure
  41.     someone *must* have solved this one).  Anyway, here are a few  methods
  42.     that can be used to stamp date entries as calls are made.
  43.     
  44.     After  a  successful  connection has been made,  use  ALT-4  (the  DOS
  45.     gateway)  and  call  PRODATE  without  any  command  line   arguments.
  46.     PRODATE  will ask you for the directory number to be dated.  You  will
  47.     then have to type EXIT to return to Procomm.
  48.     
  49.     An  alternative to this method is to create a command file that  calls
  50.     PRODATE  (e.g,  "dos  prodate").  After a  successful  connection  use
  51.     ALT-5  to invoke the command file.  This proves to be faster than  the
  52.     dos gateway and you don't need the EXIT to return to Procomm.
  53.     
  54.     If  command  files  are  used to control  logon  procedures,  you  can
  55.     include   a  call  to  PRODATE  after  testing  for   the   successful
  56.     connection.
  57.     
  58.     If  none  of  these  methods are to your liking,  just  jot  down  the
  59.     directory  numbers as connections are made.  Then, at the end  of  the
  60.     session, run PRODATE listing those numbers as command line arguments.
  61.     
  62.     For those who want to know.......
  63.     
  64.     PRODATE  was written in Mark Williams C (MWC86) small model.   It  was
  65.     developed  and tested on an IBM XT under DOS 3.1 running Procomm  ver.
  66.     2.4.2.
  67.     
  68.     Enjoy!   Woody Woodward
  69.